home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
cnet
/
FPDIZ10.lha
/
PFiles
/
FPDIZ
/
FPDIZFIX.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-04-07
|
2KB
|
55 lines
/********** Automaticly generated header, don't edit ************************
*
* PROGRAM: FPDIZFIX.rexx
*
* PURPOSE: Copies the contents of the Default Editor Getuser, to an
* unused Getuser location, which is used by FPDIZ.
*
* DATE: 07 Apr 95
*
* TIME: 15:17:18
*
* VERSION: 1
* REVISION: 0
* SUBREVISION: 0
*
* LOG:
*
* 07 Apr 95 1st Release Version.
*
* CNET VERSION: 3.05c
*
***************************************************************************/
/* revision string for the version command. */
ver="$VER: FPDIZFIX 1.0 (07.04.95) by PMK"
parse var ver 7 p!' 'v!' ('d!') by 'a!'00'x
options results;signal on error;signal on syntax;signal on ioerr
if ~show('l','rexxsupport.library') then if ~addlib('rexxsupport.library',0,-30,0) then exit
bbsn='] Flux Point File_Id.DIZ "Editor Fixer" ['
idnt=copies(' ',(80-length(bbsn))%2);bbsn=idnt'u1c7'copies(' ',length(bbsn))'u0n1'idnt'u1z4'bbsn'u0c7z0n2c5 'p!' v'v!' (C) 19'right(d!,2)' by 'a!' - Flux Point Amiga BBS +45 3526 2527n2'
transmit 'f1'bbsn'c7'
prompt 1 noyes 'n1Copy Editor info to FPDIZ getuser [c2Noq1]? '
if result='Yes' then do
prompt 1 noyes 'n1Are you Sure [c2Noq1]? '
if result='Yes' then do
transmit 'n1'
getuser 2400088;do a=1 to result
transmit "Fixing editor for user#:c2 "a"^1"
loadscratch a
getscratch 1100645;setobject result; putscratch 1100451
setobject 0; putscratch 1100450
savescratch a
end
transmit 'q1Done!'
end
end
exit
SYNTAX:;ERROR:;IOERR:;er='Error Code 'rc' ('errortext(rc)') in line 'sigl' of "'fpat||fprg'"'
transmit ':0'er;if length(er)>46 then do;er1=left(er,46);er=substr(er,47);logentry er1;end
logentry er;bufferflush;exit